< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03104400.xhp

(section: hasunointerfaces) (bookmark: bm_id3149987)
HasUnoInterfaces function

HasUnoInterfaces 関数

HasUnoInterfaces Function [Runtime]
HasUnoInterfaces 関数 [実行時](hd_id3149987.1)

Tests if a Basic Uno object supports certain Uno interfaces.
特定の Uno インタフェースを Basic Uno オブジェクトがサポートしているかを確認します。(par_id3151262.2)

(/section: hasunointerfaces)

Returns True, if all stated Uno interfaces are supported, otherwise False is returned.
指定した すべての Uno インタフェースがサポートされていれば True を返し、そうでない場合は False を返します。(par_id3154232.3)

Syntax:
構文:(hd_id3150040.4)

HasUnoInterfaces( oTest, Uno-Interface-Name 1 [, Uno-Interface-Name 2, ...])
HasUnoInterfaces( oTest, Uno-Interface-Name 1 [, Uno-Interface-Name 2, ...])(par_id3155555.5)

Return value:
戻り値:(hd_id3153345.6)

Bool
ブール型(par_id3148538.7)

Parameters:
パラメータ:(hd_id3159157.8)

oTest: the Basic Uno object that you want to test.
oTest: 確認する Basic Uno オブジェクト(par_id3155419.9)

Uno-Interface-Name: list of Uno interface names.
Uno-Interface-Name: インタフェース名のリスト。(par_id3149236.10)

Example:
例:(hd_id3147574.11)

bHas = HasUnoInterfaces( oTest, "com.sun.star.beans.XIntrospection" )
bHas = HasUnoInterfaces( oTest, "com.sun.star.beans.XIntrospection" )(par_id3149580.12)


< Prev / Next >